package com.yonyou.gmmc.service.leads.model;

import java.util.Date;
import javax.persistence.*;

@Table(name = "TT_CUSTOMER_POINTS")
public class TtCustomerPoints {
    @Id
    @Column(name = "POINTS_ID")
    @SequenceGenerator(name="",sequenceName="SEQ_TT_CUSTOMER_POINTS")
    private Long pointsId;

    @Column(name = "USER_ID")
    private Long userId;

    @Column(name = "PHONE")
    private String phone;

    @Column(name = "POINTS_NUM")
    private Long pointsNum;

    @Column(name = "VERSION")
    private Integer version;

    @Column(name = "CREATE_BY")
    private Integer createBy;

    @Column(name = "CREATE_DATE")
    private Date createDate;

    @Column(name = "UPDATE_BY")
    private Integer updateBy;

    @Column(name = "UPDATE_DATE")
    private Date updateDate;

    /**
     * @return POINTS_ID
     */
    public Long getPointsId() {
        return pointsId;
    }

    /**
     * @param pointsId
     */
    public void setPointsId(Long pointsId) {
        this.pointsId = pointsId;
    }

    /**
     * @return USER_ID
     */
    public Long getUserId() {
        return userId;
    }

    /**
     * @param userId
     */
    public void setUserId(Long userId) {
        this.userId = userId;
    }

    /**
     * @return PHONE
     */
    public String getPhone() {
        return phone;
    }

    /**
     * @param phone
     */
    public void setPhone(String phone) {
        this.phone = phone;
    }

    /**
     * @return POINTS_NUM
     */
    public Long getPointsNum() {
        return pointsNum;
    }

    /**
     * @param pointsNum
     */
    public void setPointsNum(Long pointsNum) {
        this.pointsNum = pointsNum;
    }

    /**
     * @return VERSION
     */
    public Integer getVersion() {
        return version;
    }

    /**
     * @param version
     */
    public void setVersion(Integer version) {
        this.version = version;
    }

    /**
     * @return CREATE_BY
     */
    public Integer getCreateBy() {
        return createBy;
    }

    /**
     * @param createBy
     */
    public void setCreateBy(Integer createBy) {
        this.createBy = createBy;
    }

    /**
     * @return CREATE_DATE
     */
    public Date getCreateDate() {
        return createDate;
    }

    /**
     * @param createDate
     */
    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    /**
     * @return UPDATE_BY
     */
    public Integer getUpdateBy() {
        return updateBy;
    }

    /**
     * @param updateBy
     */
    public void setUpdateBy(Integer updateBy) {
        this.updateBy = updateBy;
    }

    /**
     * @return UPDATE_DATE
     */
    public Date getUpdateDate() {
        return updateDate;
    }

    /**
     * @param updateDate
     */
    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }
}